def test1():
    str = 'aaa.xls'
    if str.endswith('.xls'):
        print('true')
    else:
        print('false')  
        
def test2():
    str = 'image:aaaaaa'
    if str.startswith('img'):
        print('true')
    else:
        print('false')